package com.sxg.convert;

import com.sxg.entity.SxgCommentEntity;
import com.sxg.vo.SxgCommentVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 评论表
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgCommentConvert {
    SxgCommentConvert INSTANCE = Mappers.getMapper(SxgCommentConvert.class);

    SxgCommentEntity convert(SxgCommentVO vo);

    SxgCommentVO convert(SxgCommentEntity entity);

    List<SxgCommentVO> convertList(List<SxgCommentEntity> list);

}